package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@ApiModel("未完工 派工单 ")
public class UnFinishProductionDispatchMainVo extends BaseEntity {

    @ApiModelProperty(value = "单据编号")
    @TableField("voucher_code")
    private String voucherCode;

    @ApiModelProperty(value = "单据日期")
    @TableField("voucher_date")
    private LocalDate voucherDate;

    @ApiModelProperty(value = "生产车间")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "生产车间名称")
    @TableField("office_name")
    private String officeName;


    @ApiModelProperty(value = "物料id（产品ID）")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "物料名称（产品名称）")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "物料编码（产品编码）")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "主计量")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "本次派遣数量（本次下达量）")
    @TableField("dispatch_inventory_quantity")
    private BigDecimal dispatchInventoryQuantity;

    @ApiModelProperty(value = "派工日期")
    @TableField("dispatch_date")
    private LocalDate dispatchDate;




    @ApiModelProperty(value = "预计完工日期")
    @TableField("expect_finish_date")
    private LocalDate expectFinishDate;



}
